import request from '../utils/request.js'

//获取验证码
export function GetCaptcha(params){
	return request({
		url:'/common/getCaptcha',
		method:'get',
		params
	})
}

//上传图片
export function uploadImg(data){
	return request({
		url:'/common/uploadImg',
		method:'post',
		data
	})
}